<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
{eval $user=$this->user; $setting=$this->setting;}
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Manyou's Control Panel</title>
<meta http-equiv="Content-Type" content="text/html; charset={MY_CHARSET}">
<link media="all" type="text/css" href="css/common/admin/admincp.css" rel="stylesheet"/>
</head>
<body>

<div id="append">
</div>

<div class="container">

	<!--{if isset($message)}-->
		<!--{eval $type=isset($type)?$type:'correctmsg'; }-->
		<div class="{$type}"><p>{$message}</p></div>
	<!--{/if}-->
	<div class="note fixwidthdec">
		<p class="i">
		对于消息模板的相关变量说明:
		<br>title&nbsp;&nbsp;:问题标题
		<br>description&nbsp;&nbsp;:问题描述
		<br>site_name&nbsp;&nbsp;:网站名称
		<br>注：问题内容后面会自动加上查看问题的链接
		</p>
	</div>
	<div class="mainbox">
		<form action="index.php?admin_setting/msgtpl{$setting['seo_suffix']}" method="post">

			<table class="opt">
				<tr>
					<th colspan="2">1、问题有新回答</th>
				</tr>
				<tr>
					<td><input  class="txt" {if isset($msgtpl[0]['title'])}value="{$msgtpl[0]['title']}"{/if} style="width:300px;" name="title1"></td>
					<td>站内消息或者邮件的标题</td>
				</tr>
				<tr>
					<th colspan="2">消息内容:</th>
				</tr>
				<tr>
					<td><textarea class="area" name="content1"  style="height:100px;width:300px;">{if isset($msgtpl[0]['content'])}{$msgtpl[0]['content']}{/if}</textarea></td>
					<td valign="top">站内消息或者邮件的内容</td>
				</tr>
				<tr>
					<th colspan="2">2、回答被采纳</th>
				</tr>
				<tr>
					<td><input  class="txt" {if isset($msgtpl[1]['title'])}value="{$msgtpl[1]['title']}"{/if} style="width:300px;" name="title2"></td>
					<td>站内消息或者邮件的标题</td>
				</tr>
				<tr>
					<th colspan="2">消息内容:</th>
				</tr>
				<tr>
					<td><textarea class="area" name="content2"  style="height:100px;width:300px;">{if isset($msgtpl[1]['content'])}{$msgtpl[1]['content']}{/if}</textarea></td>
					<td valign="top">站内消息或者邮件的内容</td>
				</tr>
				<tr>
					<th colspan="2">3、问题超时自动关闭</th>
				</tr>
				<tr>
					<td><input  class="txt" {if isset($msgtpl[2]['title'])}value="{$msgtpl[2]['title']}"{/if} style="width:300px;" name="title3"></td>
					<td>站内消息或者邮件的标题</td>
				</tr>
				<tr>
					<th colspan="2">消息内容:</th>
				</tr>
				<tr>
					<td><textarea class="area" name="content3"  style="height:100px;width:300px;">{if isset($msgtpl[2]['content'])}{$msgtpl[2]['content']}{/if}</textarea></td>
					<td valign="top">站内消息或者邮件的内容</td>
				</tr>
			</table>
			<div class="opt"><input class="btn" tabindex="3" type="submit" value=" 提 交 " name="submit"></div>
		</form>
	</div>
</div>

</body>

</html>
